package com.efast.dmom.mes.service;

import java.util.List;

import com.efast.dmom.mes.bean.PieceWage;
import com.efast.dmom.mes.bean.ProductRoute;
import com.efast.dmom.mes.bean.ResultBean;
import com.efast.dmom.mes.entity.PieceWageEntity;

public interface PieceWageService {

	List<PieceWageEntity> getPieceWageListByUomId(long uomId);

	ResultBean deletePieceWage(PieceWage pieceWage);

	ResultBean verifyPieceWageUniqued(PieceWage pieceWage);

	ResultBean save(PieceWage pieceWage);

	ResultBean update(PieceWage pieceWage);

	ResultBean savePieceWage(ProductRoute productRoute);
	
	ResultBean updatePieceWage(ProductRoute productRoute);
	
	void deletePieceWageByPartIdAndRouteId(ProductRoute productRoute);

	List<PieceWageEntity> getPieceWageListByRouteIdAndPartId(ProductRoute productRoute);

}
